package com.svms.save.entitys;

import java.io.Serializable;

/**
 * @author 
 */
public class SvdaZwgxx implements Serializable {
    /**
     * 序列
     */
    private Long objectid;

    /**
     * 置物柜编号
     */
    private String zwgbh;

    /**
     * 置物柜名称
     */
    private String zwgmc;

    /**
     * 置物柜编码规则
     */
    private String zwgbmgz;

    /**
     * 置物柜层数
     */
    private Integer zwgcs;

    /**
     * 置物柜每层格子数
     */
    private Integer zwgcgs;

    /**
     * 操作时间
     */
    private String czsj;

    /**
     * 操作标示
     */
    private String czbs;

    /**
     * 操作人
     */
    private String czr;

    /**
     * 操作单位
     */
    private String czdw;

    /**
     * 关联位置编号
     */
    private String glwzbh;

    /**
     * 置物柜照片
     */
    private String zwgzp;

    private static final long serialVersionUID = 1L;

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public String getZwgbh() {
        return zwgbh;
    }

    public void setZwgbh(String zwgbh) {
        this.zwgbh = zwgbh;
    }

    public String getZwgmc() {
        return zwgmc;
    }

    public void setZwgmc(String zwgmc) {
        this.zwgmc = zwgmc;
    }

    public String getZwgbmgz() {
        return zwgbmgz;
    }

    public void setZwgbmgz(String zwgbmgz) {
        this.zwgbmgz = zwgbmgz;
    }

    public Integer getZwgcs() {
        return zwgcs;
    }

    public void setZwgcs(Integer zwgcs) {
        this.zwgcs = zwgcs;
    }

    public Integer getZwgcgs() {
        return zwgcgs;
    }

    public void setZwgcgs(Integer zwgcgs) {
        this.zwgcgs = zwgcgs;
    }

    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }

    public String getCzbs() {
        return czbs;
    }

    public void setCzbs(String czbs) {
        this.czbs = czbs;
    }

    public String getCzr() {
        return czr;
    }

    public void setCzr(String czr) {
        this.czr = czr;
    }

    public String getCzdw() {
        return czdw;
    }

    public void setCzdw(String czdw) {
        this.czdw = czdw;
    }

    public String getGlwzbh() {
        return glwzbh;
    }

    public void setGlwzbh(String glwzbh) {
        this.glwzbh = glwzbh;
    }

    public String getZwgzp() {
        return zwgzp;
    }

    public void setZwgzp(String zwgzp) {
        this.zwgzp = zwgzp;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SvdaZwgxx other = (SvdaZwgxx) that;
        return (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getZwgbh() == null ? other.getZwgbh() == null : this.getZwgbh().equals(other.getZwgbh()))
            && (this.getZwgmc() == null ? other.getZwgmc() == null : this.getZwgmc().equals(other.getZwgmc()))
            && (this.getZwgbmgz() == null ? other.getZwgbmgz() == null : this.getZwgbmgz().equals(other.getZwgbmgz()))
            && (this.getZwgcs() == null ? other.getZwgcs() == null : this.getZwgcs().equals(other.getZwgcs()))
            && (this.getZwgcgs() == null ? other.getZwgcgs() == null : this.getZwgcgs().equals(other.getZwgcgs()))
            && (this.getCzsj() == null ? other.getCzsj() == null : this.getCzsj().equals(other.getCzsj()))
            && (this.getCzbs() == null ? other.getCzbs() == null : this.getCzbs().equals(other.getCzbs()))
            && (this.getCzr() == null ? other.getCzr() == null : this.getCzr().equals(other.getCzr()))
            && (this.getCzdw() == null ? other.getCzdw() == null : this.getCzdw().equals(other.getCzdw()))
            && (this.getGlwzbh() == null ? other.getGlwzbh() == null : this.getGlwzbh().equals(other.getGlwzbh()))
            && (this.getZwgzp() == null ? other.getZwgzp() == null : this.getZwgzp().equals(other.getZwgzp()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getZwgbh() == null) ? 0 : getZwgbh().hashCode());
        result = prime * result + ((getZwgmc() == null) ? 0 : getZwgmc().hashCode());
        result = prime * result + ((getZwgbmgz() == null) ? 0 : getZwgbmgz().hashCode());
        result = prime * result + ((getZwgcs() == null) ? 0 : getZwgcs().hashCode());
        result = prime * result + ((getZwgcgs() == null) ? 0 : getZwgcgs().hashCode());
        result = prime * result + ((getCzsj() == null) ? 0 : getCzsj().hashCode());
        result = prime * result + ((getCzbs() == null) ? 0 : getCzbs().hashCode());
        result = prime * result + ((getCzr() == null) ? 0 : getCzr().hashCode());
        result = prime * result + ((getCzdw() == null) ? 0 : getCzdw().hashCode());
        result = prime * result + ((getGlwzbh() == null) ? 0 : getGlwzbh().hashCode());
        result = prime * result + ((getZwgzp() == null) ? 0 : getZwgzp().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", objectid=").append(objectid);
        sb.append(", zwgbh=").append(zwgbh);
        sb.append(", zwgmc=").append(zwgmc);
        sb.append(", zwgbmgz=").append(zwgbmgz);
        sb.append(", zwgcs=").append(zwgcs);
        sb.append(", zwgcgs=").append(zwgcgs);
        sb.append(", czsj=").append(czsj);
        sb.append(", czbs=").append(czbs);
        sb.append(", czr=").append(czr);
        sb.append(", czdw=").append(czdw);
        sb.append(", glwzbh=").append(glwzbh);
        sb.append(", zwgzp=").append(zwgzp);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}